﻿<?xml version="1.0" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
	namespace="DataAccess" assembly="DataAccess">

  <class name="DataAccess.Education, DataAccess" table="USER2EDUCATION">
    <id name="Id" column="ID" type="Int64">
		<generator class="identity"/>
    </id>
    <property name="Status" type="String" column="STATUS"/>
	<property name="Mark" type="String" column="MARK"/>
	<many-to-one name="User" column="USER_ID" 
		class="DataAccess.User, DataAccess" /> 
	<many-to-one name="Module" column="MODULE_ID" 
		class="DataAccess.EducationModule, DataAccess" />
  </class>
</hibernate-mapping>

